package cn.bonoon.controllers;

import cn.bonoon.kernel.menus.TabItemDefinition;

public class TabItemInfo {
	
	private final String id;
	private final String name;
	private final String href;
	
	public TabItemInfo(TabItemDefinition item){
		this.id = item.getId();
		this.name = item.getName();
		this.href = item.getParser().getHref();
	}

	public String getId() {
		return id;
	}

	public String getName() {
		return name;
	}

	public String getHref() {
		return href;
	}
	
}
